package com.mi.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mi.system.dto.query.LogQueryDTO;
import com.mi.system.entity.Log;
import com.mi.system.vo.LogVO;

/**
 * Log service
 *
 * @author jin_huaquan
 * @version 1.0
 * @date 2021/11/1 13:55
 */
public interface LogService extends IService<Log> {

    /**
     * list log
     *
     * @param page  page info
     * @param query query params
     * @return log list
     */
    Page<LogVO> listLog(Page page, LogQueryDTO query);
}
